package tech.aistar.day03;

/**
 * 本类用来演示: 语法细节
 *
 * @author: success
 * @date: 2021/3/8 10:27 上午
 */
public class IfElseDemo {
    public static void main(String[] args) {
        int n = 9;
        if(n>10)
            System.out.println("print");
        System.out.println("socre");

        //条件需要互斥
        int age = 30;
        if(age>=10){
            System.out.println("Age - 10");
        }else if(age>=5){
            System.out.println("Age - 20");
        }
    }
}
